﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ebclang.basics
{
    public class Request<TRequest, TResponse>
    {
        public Request(TRequest requestData, Action<TResponse> responsePin)
        {
            RequestData = requestData;
            ResponsePin = responsePin;
        }

        public TRequest RequestData { get; private set; }

        public Action<TResponse> ResponsePin { get; private set; }
    }
}
